﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="role_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
     <script src="../js/jquery-1.3.2.min.js"></script>
   <script>
       $(document).ready(function () {
           $("#btnBack").click(function () {
               document.location = "default.aspx";
           })
       })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="page_title">
        角色管理&nbsp; &gt; 角色修改</div>
    <div class="button_bar">
       <input type="button" class="common_button" id="btnBack" value="返回"/>
        <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" OnClick="btnSave_Click" />
    </div>
    <div>
        <table class="query_form_table">
            <tr>
                <th>
                    角色编号
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtRoleId" runat="server" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                        ControlToValidate="txtName" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    角色名称
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtName" runat="server" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                        ControlToValidate="txtName" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    状态
                </th>
                <td colspan="3">
                    <asp:RadioButton ID="rdoTrue" runat="server" Checked="True" GroupName="aa" Text="正常"
                        value="1" />
                    <asp:RadioButton ID="rdoFalse" runat="server" Text="禁用" value="0" GroupName="aa" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
